import {service as request} from '@/utils/request'




export function getList(data) {
    return request({
        url: `/hawk/hosts/monitor/search/${data.page.current}/${data.page.size}`,
        method: 'get',
        params:data.query
    })
}


export function getDetail(id) {
    return request({
        url: `/hawk/hosts/monitor/details/${id}`,
        method: 'get'
    })
}



export function getAll() {
    return request({
        url: `/monitor-listHost/`,
        method: 'get'
    })
}